package com.xb.mapper;

import com.xb.entity.Role;

import java.util.List;

/**
 * Mapper接口
 */
//@Mapper
public interface RoleMenuMapper {

    public List<Integer> selectRoleMenuByRoleId(Integer roleId);

    public List<Integer> selectRoleMenuByMenuId(Integer menuId);

    public int insertRoleMenuByRole(Role role);

    public int deleteRoleMenuByRole(Integer id);

    public int deleteRoleMenuByMenuId(Integer menuId);

}
